@media screen and (max-width: 768px){
  body{
    width: 100% !important;
  }
  .foot p:first-child{
    font-size: 14px !important;
  }
  .foot p a{
    font-size: 13px !important;
  }
}

@media screen and (min-width: 768px){
  body{
    width: 80% !important;
    margin: 0 auto;
  }
}

.title h2{
  margin-bottom: 20px;
  color: #4aa593;
  text-shadow:0px 0px 2px #7defd8;
}

.key{
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: 10px;
  border-radius: 5px;
}

.key input:focus {
  border-color: #1ab394;
}  
    
.answer{
  width: 100%;
  position: relative;
  height: 70vh;
}

.answer .tips{
  display: block;
}

.answer .tips h3{
  color:red;
}

.answer .tips img{
  margin-top: 30px;
  border:1px solid #7eecd6;
  box-shadow: 0px 1px 10px 0px #7defd8;
  border-radius: 10px;
  width: 200px;
}

.answer .ipt{
  display:flex;
  align-items: center;
  position: absolute;
  bottom: 20px;
  margin: 0 15px;
  padding-right: 15px;
  border-radius: 10px;
  width: calc(100% - 30px);
  height: 50px;
  border: 1px solid #e7eaec;
  box-shadow: 0px 0px 10px 0px rgba(154, 152, 152, 0.2);
}
.answer .ipt textarea {
  resize: none;
  overflow-y: auto;
  border: none;
  box-shadow:none;
}
.answer .ipt textarea:focus{
  border: none !important;
  box-shadow: none !important;
}

.answer #chatWindow {
  max-height: calc(70vh - 100px);
  height:auto;
  overflow-y: auto;
}

.message-bubble {
  padding: 10px;
  margin: 5px;
  display: flex;
  align-items: flex-start;
  border-bottom: 1px dashed #e7eaec;
}

.message-bubble .message-text{
  font-size: 18px;
  margin-left:15px;
  white-space: normal;
  word-break: break-all;
}


/* markdown转html样式bug修改*/
.message-bubble .response ol{
  list-style-type: circle; /* 将数字标号改为空心圆点 */
}

/* 错误信息样式 */
.message-bubble .message-text p.error{
  color:red;
  height:auto;
  display: block;
  white-space: pre-wrap;
  word-break: break-all;
}

.message-bubble .response-icon {
  width: 35px;
  height: 35px;
  border-radius: 4px;
}

.message-bubble .request-icon {
  display: block;
  width: 35px;
  height: 35px;
  border-radius: 4px;
  background-image: url(../images/avatar.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.message-bubble .response .loading-icon{
  display: block;
  width:35px;
  height:35px;
  background-image: url(../images/loading.gif);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.answer #chatBtn{
  background-color: #1ab394;
  border-color: #1ab394;
}

.foot p:first-child{
  margin-bottom: 10px;
}

.foot p:nth-child(2){
  margin-bottom: 0;
}

.foot p a{
  font-weight: 400;
  font-size: 14px;
  color:red;
  text-decoration:none;
}